package com.jams.goodox.widget;

import android.content.Context;
import android.util.AttributeSet;

import com.bigkoo.convenientbanner.ConvenientBanner;

/**
 * Created by Jin on 2016/7/7.
 * Description
 */
public class CustomConvenientBanner extends ConvenientBanner {

	public CustomConvenientBanner(Context context, AttributeSet attrs) {
		super(context, attrs);
	}

	@Override
	protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
		super.onMeasure(widthMeasureSpec, heightMeasureSpec);
		setMeasuredDimension(widthMeasureSpec, widthMeasureSpec);
	}
}
